package com.example.ancientpoetryintelligencejava.model;

/**
 * @BelongsProject: ancient-poetry-intelligence-java
 * @BelongsPackage: com.example.ancientpoetryintelligencejava.model
 * @Author: ZhShy
 * @CreateTime: 2022-03-15 17:54
 * @Description:
 */
public class Dynasty {
    private Integer dynastyId;
    private String dynastyName;

    public Integer getDynastyId() {
        return dynastyId;
    }

    public void setDynastyId(Integer dynastyId) {
        this.dynastyId = dynastyId;
    }

    public String getDynastyName() {
        return dynastyName;
    }

    public void setDynastyName(String dynastyName) {
        this.dynastyName = dynastyName;
    }

    public Dynasty() {
    }

    public Dynasty(Integer dynastyId, String dynastyName) {
        this.dynastyId = dynastyId;
        this.dynastyName = dynastyName;
    }
}
